package com.consumer.controller;

import com.common.entity.OrderDTO;
import com.common.response.ResponseResult;
import com.consumer.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @author xin.you
 * @date 2021/4/24
 * @description
 */
@RestController
@RequestMapping("/order")
public class OrderController {
    @Autowired
    private OrderService orderService;


    @PostMapping("/saveOrder")
    public ResponseResult saveOrder(@RequestBody OrderDTO orderDTO){
        return ResponseResult.success();
    }


}
